package com.itheima.sc.mapper.ums;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.sc.pojo.ums.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface AdminMapper extends BaseMapper<Admin> {
    @Update("update ums_admin set status = #{status} where id = #{id}")
    void updateStatus(Integer id, Integer status);
}
